/**
 * 
 */
package com.ynet.middleground.user.mq;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author songyf
 *
 */
public interface SourceZt {
    String ENTERPRISE_BASIC_MODIFY = "user-enterprise-basic-modify";
    String USER_PASSWORD_MODIFY = "user-password-modify";

    /**
     * 给渠道推送企业信息修改消息
     *
     * @return
     */
    @Output(SourceZt.ENTERPRISE_BASIC_MODIFY)
    MessageChannel UserModifyNotice();
    
    /**
     * 给渠道推送用户密码变更消息
     *
     * @return
     */
    @Output(SourceZt.USER_PASSWORD_MODIFY)
    MessageChannel UserPasswordModifyNotice();
}
